<template>
  <div><back></back></div>
  <div class="box">
    <h2>联系客服</h2>
    <span>工作时间: 9:00-17:00</span>

    <van-empty description="客服上班啦 ~">
      <van-button round type="primary" class="bottom-button" @click="des"
        >我要吐槽</van-button
      >
    </van-empty>
  </div>
</template>

<script setup>
import { showDialog } from "vant";

// 返回按钮
import back from "@/components/Back.vue";

// button按钮
function des() {
  showDialog({
    message: "功能尚未完善,敬请期待...",
  }).then(() => {});
}
</script>

<style lang="less" scoped>
.box {
  h2 {
    line-height: 1;
    font-weight: 600;
    margin-bottom: 2.133vw;
    margin-left: 5.067vw;
  }
  span {
    margin-left: 5.067vw;
    line-height: 1;
    font-size: 2.4vw;
    color: #333;
  }
  .bottom-button {
    position: absolute;
    bottom: 14vw;
    left: 5vw;
    width: 90%;
    height: 10.333vw;
    border-radius: 2vw;
  }
}

:deep(.van-button--round) {
  background-color: rgb(255, 60, 80);
  border: none;
}
</style>
